/*系统用户功能*/
import axios from '../utils'

const api = {
    getRechargeAPI: '/sys/getRecharge',
    getReportAPI: '/sys/getReport', //分页查询广告统计图表/表格

    sysModifyInfo: '/sys/modifyInfo' //修改邮箱及密码
}

export default api

export function getRecharge(params) {
    return axios.get(api.getRechargeAPI, {
        params
    })
}

export function getReport(params) {
    return axios.get(api.getReportAPI, {
        params
    })
}

export function sysModifyInfo(params) {
    return axios.put(api.sysModifyInfo, params)
}
